package com.autumn.zero.workflow.services.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.autumn.zero.workflow.entitys.WorkflowDefinition;
import com.autumn.zero.workflow.repositorys.IWorkflowDefinitionRepository;
import com.autumn.zero.workflow.services.IWorkflowDefinitionService;

/**
 * 默认的工作流定义
 * 
 * @author 杨昌国 2019-01-11 14:15:08
 */
public class WorkflowDefinitionServiceImpl
		extends AbstractWorkflowDefinitionService<WorkflowDefinition, IWorkflowDefinitionRepository>
		implements IWorkflowDefinitionService {

	public WorkflowDefinitionServiceImpl() {
		super(WorkflowDefinition.class);
	}

	@Autowired
	private IWorkflowDefinitionRepository repository;

	@Override
	protected IWorkflowDefinitionRepository getWorkflowDefinitionRepository() {
		return repository;
	}

}
